package com.copm.demonstrationsystem.dto.housetypefeatures;

import com.copm.demonstrationsystem.pojo.housetypefeatures.HouseType;

import java.util.List;

/**
 * @author chuyunfei
 * @date: 2018/4/17
 * @description: 用于响应对单个户型信息的请求载体
 */
public class HouseTypeResponseDto {
    //指定户型对象
    private HouseType houseType;

    //该户型所对应的平面图对象集合
    private List<HouseTypeImageResponseDto> housePlans;

    //该户型所对应的样板间图对象集合
    private List<HouseTypeImageResponseDto> houseSampleRooms;

    public HouseTypeResponseDto(){
    }

    public HouseTypeResponseDto(HouseType houseType,List<HouseTypeImageResponseDto> housePlans,List<HouseTypeImageResponseDto> houseSampleRooms){
        this.houseType = houseType;
        this.housePlans = housePlans;
        this.houseSampleRooms = houseSampleRooms;
    }

    public HouseType getHouseType(){
        return houseType;
    }

    public void setHouseType(HouseType houseType){
        this.houseType = houseType;
    }

    public List<HouseTypeImageResponseDto> getHousePlans(){
        return housePlans;
    }

    public void setHousePlans(List<HouseTypeImageResponseDto> housePlans){
        this.housePlans = housePlans;
    }

    public List<HouseTypeImageResponseDto> getHouseSampleRooms(){
        return houseSampleRooms;
    }

    public void setHouseSampleRooms(List<HouseTypeImageResponseDto> houseSampleRooms){
        this.houseSampleRooms = houseSampleRooms;
    }

    @Override
    public String toString(){
        return "HouseTypeResponseDto{" + "houseType=" + houseType + ", housePlans=" + housePlans + ", houseSampleRooms=" + houseSampleRooms + '}';
    }
}
